package com.ruoyi.keep.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户购买次数卡对象 user_buy_number_card
 * 
 * @author wxy
 * @date 2024-08-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserBuyNumberCard
{

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 剩余次数 */
    @Excel(name = "剩余次数")
    private Integer residueNumber;

    /** 逻辑删除 */
    @TableLogic
    private Integer del;
    @TableField(exist = false)
    private CommonUsers commonUsers;
    @TableField(exist = false)
    private String nickname;
    @TableField(exist = false)
    private Long gender;
    @TableField(exist = false)
    private String mobile;
}
